package com.chen.base.module.redis.config;

import com.chen.base.module.redis.inter.AbstractRedisQueueListen;
import com.chen.base.utils.DutyLinkUtil;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: 陈锦龙
 * @Date: 2025/7/1 20:52
 */
@Configuration
public class RedisQueueConfig implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        DutyLinkUtil.run(AbstractRedisQueueListen.class, null);
    }
}
